import { NestFactory } from '@nestjs/core';
import { DeviceDataProcessingModule } from './device-data-processing.module';
import { DeviceDataProcessingService } from './device-data-processing.service';

async function bootstrap() {
  const app = await NestFactory.createApplicationContext(DeviceDataProcessingModule);
    const service = app.get(DeviceDataProcessingService)
    service.start()
    console.log('Device Data Processing start')
}
bootstrap();
